package com.atguigu.springcloud.service;

import org.springframework.stereotype.Component;

@Component
public class HystrixFallbackPaymentService implements PaymentHystrixService{
    @Override
    public String paymentInfo_OK(Integer id) {
        return id+"\tpaymentInfo_OK执行降级了";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return id+"\tpaymentInfo_TimeOut执行降级了";
    }
}
